package com.bida.mapper;

import com.bida.domain.po.Category;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 菜品及套餐分类 Mapper 接口
 * </p>
 *
 * @author ly
 * @since 2024-09-06
 */
public interface CategoryMapper extends BaseMapper<Category> {
    /**
     * 根据类型查询分类
     * @param type
     * @return
     */
    List<Category> getAllList(Integer type);
}
